/*
 Navicat Premium Data Transfer

 Source Server         : 本地MySql
 Source Server Type    : MySQL
 Source Server Version : 80022
 Source Host           : localhost:3306
 Source Schema         : security_spring

 Target Server Type    : MySQL
 Target Server Version : 80022
 File Encoding         : 65001

 Date: 11/01/2021 22:41:19
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for t_role
-- ----------------------------
DROP TABLE IF EXISTS `t_role`;
CREATE TABLE `t_role` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '角色标识',
  `name` varchar(50) DEFAULT NULL COMMENT '角色名称',
  `des` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '角色描述',
  `creator` varchar(255) DEFAULT NULL COMMENT '创建者',
  `ctime` datetime DEFAULT NULL COMMENT '创建时间',
  `utime` datetime DEFAULT NULL COMMENT '修改时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- ----------------------------
-- Records of t_role
-- ----------------------------
BEGIN;
INSERT INTO `t_role` VALUES (1, '超级管理员', '具有系统最高权限', 'appleyk', '2021-01-11 22:12:34', '2021-01-11 22:12:36');
INSERT INTO `t_role` VALUES (2, '管理员', '具有注册用户、管理用户的权限', 'appleyk', '2021-01-11 22:13:49', '2021-01-11 22:13:52');
INSERT INTO `t_role` VALUES (3, '普通用户', '具有浏览、下单等权限', 'appleyk', '2021-01-11 22:14:18', '2021-01-11 22:14:22');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
